package alpaca.ctrl;

import alpaca.core.ServerModelLocator;
import alpaca.util.DBConfigData;

public class StartCtrl implements IController {
		
	private int port;
	private DBConfigData configData;
	
	@Override
	public void execute() {
		ServerModelLocator.getServerModel().start(port, configData);
	}
	
	public void setPort(Integer integer){
		this.port = integer;
	}
	
	public void setDBConfigData(DBConfigData configData) {
		this.configData = configData;
	}

}
